import {defineAsyncComponent} from "vue";
import AsyncComponentLoading from "@/components/AsyncComponentLoading.vue";


export const StartDialog = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/Start.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const ConditionDialog = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/Condition.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const SwitchDialog = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/Switch.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const ABTestDialog = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/ABTest.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const WaitDialog = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/Wait.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const MessageActionDialog = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/MessageAction.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const EmailActionDialog = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/EmailAction.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const PublicNumber = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/PublicNumber.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const WorkWeChat = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/WorkWeChat.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const AppMessage = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/AppMessage.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const AppMessageBox = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/AppMessageBox.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const AppNotice = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/AppNotice.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const MiniProgram = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/MiniProgram.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const WeChatFriendMessage = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/WeChatFriendMessage.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const WeChatAddFriend = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/WeChatAddFriend.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const AddTag = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/AddTag.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const DelTag = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/DelTag.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const AddCustomerGroup = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/AddCustomerGroup.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})

export const DelCustomerGroup = defineAsyncComponent({
  loader: () => import("@/components/marketingCanvas/DelCustomerGroup.vue"),
  loadingComponent: AsyncComponentLoading,
  delay: 0,
})



